﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo07
{
    class Circle : Shape
    {
        public double radius;
        public double Radius { get; set; }
        public override void GetArea()
        {
            Console.WriteLine("请输入半径");
            this.radius = double.Parse(Console.ReadLine());
            double sum = 3.14 * this.radius * this.radius;
            Console.WriteLine("面积是" + sum);
            base.GetArea();
        }
    }
}
